* lisp/emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Nov 2012 14:36:47 +0000 (09:36 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Nov 2012 14:36:47 +0000 (09:36 -0500)
miscompilation of trace.el.

lisp/ChangeLog
lisp/emacs-lisp/advice.el

index e9e9a0f00158f26c881b9167a68687f66cc3396a..708c1a8def8ce8127a06bb45309b8c3bcbede015 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
+       miscompilation of trace.el.
+
 2012-11-08  Glenn Morris  <rgm@gnu.org>
 
        * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
index bd85238e23e9ff81015ae69ba54baa917e258ecf..e358c756712a8134c41d566f4623eda0b1fd5ed6 100644 (file)
 ;; During a normal load this is a noop:
 (require 'advice-preload "advice.el")
 (require 'macroexp)
-(eval-when-compile (require 'cl-lib))
+;; At run-time also, since ad-do-advised-functions returns code that uses it.
+(require 'cl-lib)
 
 ;; @@ Variable definitions:
 ;; ========================